package com.github.eclipseace.mybatis.spring;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

/**
 * @author eclipseAce
 */
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Import(EntityStoreRegistrar.class)
public @interface EnableEntityStore {
	String beanName() default "";

	@AliasFor("value")
	String[] basePackages() default {};

	@AliasFor("basePackages")
	String[] value() default {};
}
